<!DOCTYPE HTML>
<html>
	<head>
	<title>Test Connection</title>
	<LINK rel="stylesheet" type="text/css" href="style/scoreCalque.css">
	 <link rel="stylesheet" type="text/css" href="style/partition.css">
		<link rel="stylesheet" type="text/css" href="style/scoreCalque.css">
		<script src="js/lib/jquery-1.9.1.min.js"></script>
		<script src="js/lib/uploader.js"></script>
		<script src="js/Connection.js"></script>
		<script src="js/NoteCalque.js"></script>
		<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
		<script src="./js/instrument.js"></script>
	</head>
	
	<body>
		<div id="imgCrayon">Crayon</div>
		<div id="imgGomme">Gomme</div>
		<div id="imgPartage">Partage</div>
		
		<div id="score_1" class="SCORE">
		</div>
		<div id="score_2" class="SCORE">
		</div>
		<div id="score_3" class="SCORE">
		</div>
		
		
		<script>
			$(document).ready(function (){
				
				var ratio = 0.89 * document.body.clientWidth / 1600;
				
				window.partition = new Partition();
				partition.initialize({user: "test", niveau: 2});
				
				partition.ajouterScore({
					idScore: "1",
					idCalque1: "gobe11",
					idCalque2: "gobe12",
					idCalque3: "gobe14",
					tailleCrayon : 8,
					tailleGomme : 20,
					coefficient : ratio,
					couleur : "#00A"
				});
				
				partition.ajouterScore({
					idScore: "2",
					idCalque1: "gobe21",
					idCalque2: "gobe22",
					idCalque3: "gobe24",
					tailleCrayon : 8,
					tailleGomme : 20,
					coefficient : ratio,
					couleur : "#00A"
				});
				
				partition.ajouterScore({
					idScore: "3",
					idCalque1: "gobe31",
					idCalque2: "gobe32",
					idCalque3: "gobe34",
					tailleCrayon : 8,
					tailleGomme : 20,
					coefficient : ratio,
					couleur : "#00A"
				});
				
				partition.run();
				
			});
			
		</script>
	</body>
</html>